home *** CD-ROM | disk | FTP | other *** search
- #!/bin/sh
-
- set -e
-
- if [ -f /usr/lib/calendar/default ]; then
- mv -f /usr/lib/calendar/default /etc/calendar/default.old
-
- # don't kill installation if directory can't be removed
- rmdir /usr/lib/calendar 2>/dev/null || true
- fi
-
- # handle name change of cron script
- if [ -f /etc/cron.daily/calendar ]; then
- mv -f /etc/cron.daily/calendar /etc/cron.daily/bsdmainutils
- fi
-
- update-alternatives \
- --install /usr/bin/write write /usr/bin/bsd-write 100 \
- --slave /usr/share/man/man1/write.1.gz write.1.gz /usr/share/man/man1/bsd-write.1.gz
-
-
-